<%var obj={pageTitle:"学生管理系统"}%>
{{include "../header.html" obj}}
<div class=" container">
    <div class=" page-header">
        <h2 class=" text-center text-primary">登陆学生管理系统</h2>
    </div>
    <!--
        action:提交地址  /checkLogin
        默认省略掉了一个域Origin
        http://127.0.0.1:8888/checkLogin
    -->
    <form class=" col-sm-6 col-sm-offset-3" method="POST" action="/Stu_h1802/checkLogin" enctype="application/x-www-form-urlencoded">
        <div class=" form-group">
            <div class=" input-group">
                <div class=" input-group-addon">
                    <span class=" glyphicon glyphicon-user"></span>
                </div>
                <input type="text" class=" form-control" name="s_id" data-label="用户名">
            </div>
        </div>
        <div class=" form-group">
            <div class=" input-group">
                <div class=" input-group-addon">
                    <span class=" glyphicon glyphicon-lock"></span>
                </div>
                <input type="password" class=" form-control" name="s_qq" data-label="密码">
            </div>
        </div>
        <div class=" form-group">
            <button type="submit" class=" btn btn-block btn-primary btn-submit-loading" id="btnLogin">登陆</button>
        </div>
    </form>
</div>
<style type="text/css">
    body{
        background-image: url("../../public/images/admin-login-bg.jpg");
        background-size: 100% 100%;
        background-attachment: fixed;
    }
</style>
<script type="text/javascript">
    $(function(){
        $("input.form-control").addTips();
        //事件先于响应
    });
</script>
{{include "../footer.html"}}
